package com.stylefeng.guns.modular.system.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2020-06-05
 */
@TableName("channel_info")
@Data
public class VpnChannelInfo extends Model<VpnChannelInfo> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 渠道名称
     */
    private String name;
    /**
     * 渠道号
     */
    @TableField("channel_no")
    private String channelNo;
    /**
     * 渠道创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 停用时间
     */
    @TableField("end_time")
    private Date endTime;
    /**
     * 渠道推广路径
     */
    @TableField("channel_promote_url")
    private String channelPromoteUrl;

    @TableField("status")
    private Integer status;



    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
